package com.queming.core.mapper;

import com.queming.core.dto.RoleDto;
import com.queming.core.entity.Role;
import com.queming.core.vo.RoleVo;

/**
 * @author chencidiao
 * @date 2022/04/18 11:06
 **/
public interface RoleMapper {
    /**
     * @param role 前端传入role实体
     * @author 陈词调
     * @date 2022/4/18
     */
    RoleDto toDto(Role role);

    RoleVo toVo(RoleDto roleDto);


}
